The Dreamweaver JavaScript API > Selection functions > site.getConnectionState()

 

site.getCurrentSite()

Availability

Dreamweaver 3.0

Description

Gets the current site.

Arguments

None.

Returns

A string containing the name of the current site.

Enabler

None.

Example

If you defined several sites, a call to site.getCurrentSite() returns the one that is currently showing in the Current Sites List in the Site window.